.class Lcom/estrongs/android/view/music/b$b;
.super Landroid/content/BroadcastReceiver;
.source "MusicPlayerManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/view/music/b;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/music/b;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/music/b;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V

    return-void
.end method


# virtual methods
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
    .locals 2

    .line 1
    :try_start_0
    iget-object p1, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {p1}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    if-eqz p1, :cond_2

    iget-object p1, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {p1}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->r()Z

    move-result p1

    if-eqz p1, :cond_2

    iget-object p1, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {p1}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->q()Z

    move-result p1

    if-eqz p1, :cond_2

    const/4 p1, 0x0

    .line 2
    iget-object p2, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {p2}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p2

    invoke-virtual {p2}, Lcom/estrongs/android/pop/app/f0;->k()Les/to;

    move-result-object p2

    if-eqz p2, :cond_1

    .line 3
    invoke-virtual {p2}, Les/to;->d()Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    iget-object v1, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {v1}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/app/f0;->g()I

    move-result v1

    if-le v0, v1, :cond_1

    .line 4
    invoke-virtual {p2}, Les/to;->d()Ljava/util/List;

    move-result-object p2

    iget-object v0, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {v0}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/f0;->g()I

    move-result v0

    invoke-interface {p2, v0}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object p2

    check-cast p2, Les/so;

    iget-object p2, p2, Les/so;->b:Ljava/lang/String;

    if-eqz p2, :cond_1

    const-string v0, "/"

    .line 5
    invoke-virtual {p2, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result v0

    if-nez v0, :cond_0

    const-string v0, "file:///"

    invoke-virtual {p2, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z

    move-result p2

    if-eqz p2, :cond_1

    :cond_0
    const/4 p1, 0x1

    :cond_1
    if-eqz p1, :cond_2

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    iget-object p2, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {p2}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p2

    invoke-virtual {p2}, Lcom/estrongs/android/pop/app/f0;->f()J

    move-result-wide v0

    long-to-int p2, v0

    iput p2, p1, Lcom/estrongs/android/view/music/b;->g:I

    .line 7
    iget-object p1, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    iget-object p2, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {p2}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p2

    invoke-virtual {p2}, Lcom/estrongs/android/pop/app/f0;->g()I

    move-result p2

    iput p2, p1, Lcom/estrongs/android/view/music/b;->h:I

    .line 8
    iget-object p1, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {p1}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->a()V

    .line 9
    iget-object p1, p0, Lcom/estrongs/android/view/music/b$b;->a:Lcom/estrongs/android/view/music/b;

    invoke-static {p1}, Lcom/estrongs/android/view/music/b;->c(Lcom/estrongs/android/view/music/b;)Lcom/estrongs/android/pop/app/f0;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/pop/app/f0;->y()V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :catch_0
    :cond_2
    return-void
.end method
